import fetch from '@/api/fetch'

export function windowlist(params) { // 窗口列表
    return fetch({
        url: '/api/registration/windowlist',
        method: 'get',
        params
    });
}

export function choosewindow(params) { // 选择窗口
    return fetch({
        url: '/api/registration/choosewindow',
        method: 'get',
        params
    });
}

export function turnlist(params) { // 挂号列表
    return fetch({
        url: '/api/registration/turnlist',
        method: 'get',
        params
    });
}

export function getTurn(params) { // 直接取号
    return fetch({
        url: '/api/registration/getTurn',
        method: 'get',
        params
    });
}

export function cancelOver(params) { // 取消挂号
    return fetch({
        url: '/api/registration/cancel',
        method: 'get',
        params
    });
}

export function turncall(params) { // 叫号
    return fetch({
        url: '/api/registration/turncall',
        method: 'get',
        params
    });
}

export function turnguahao(params) { // 挂号
    return fetch({
        url: '/api/registration/turnguahao',
        method: 'get',
        params
    });
}

export function body(params) { // 某订单下的挂号信息
    return fetch({
        url: '/api/registration/body',
        method: 'get',
        params
    });
}

export function getoverturnlist(params) { // 已完成列表
    return fetch({
        url: '/api/registration/overturnlist',
        method: 'get',
        params
    });
}

export function guahaoagain(params) { // 重新处理已挂号列表
    return fetch({
        url: '/api/registration/guahaoagain',
        method: 'get',
        params
    });
}

export function peoplelist(params) { // 儿童列表
    return fetch({
        url: '/api/registration/peoplelist',
        method: 'get',
        params
    });
}

export function child(params) { // 下级城市
    return fetch({
        url: '/api/registration/child',
        method: 'get',
        params
    });
}

export function editpeople(params) { // 编辑/认证儿童
    return fetch({
        url: '/api/registration/editpeople',
        method: 'get',
        params
    });
}

export function addpeople(params) { // 添加儿童---获取城市区
    return fetch({
        url: '/api/registration/addpeople',
        method: 'get',
        params
    });
}

export function savepeople(params) { // 保存儿童
    return fetch({
        url: '/api/registration/savepeople',
        method: 'get',
        params
    });
}

export function updatepeople(params) { // 更新儿童
    return fetch({
        url: '/api/registration/updatepeople',
        method: 'get',
        params
    });
}

export function goreal(params) { // 认证儿童列表的儿童
    return fetch({
        url: '/api/registration/goreal',
        method: 'get',
        params
    });
}

export function peoplePlanbaby(params) { // 儿童挂号
    return fetch({
        url: '/api/registration/peoplePlanbaby',
        method: 'get',
        params
    });
}

export function vaccineVendor(params) { // 选择疫苗厂家
    return fetch({
        url: '/api/registration/vaccine',
        method: 'get',
        params
    });
}

export function cancelNotice(id,params) { // 撤销告知
    return fetch({
        url: `/api/registration/cancelNotice/${id}`,
        method: 'get',
        params
    });
}

export function changevaccine(params) { // 修改疫苗
    return fetch({
        url: '/api/registration/changevaccine',
        method: 'get',
        params
    });
}

export function updatevaccine(params) { // 更新疫苗
    return fetch({
        url: '/api/registration/updatevaccine',
        method: 'get',
        params
    });
}

export function sendNotice(params) { // 告知
    return fetch({
        url: '/api/registration/sendNotice',
        method: 'get',
        params
    });
}

export function jumpform(params) { // 跳过告知
    return fetch({
        url: '/api/registration/jumpform',
        method: 'get',
        params
    });
}


export function deleteVaccine(params) { // 删除
    return fetch({
        url: '/api/registration/delete',
        method: 'get',
        params
    });
}

export function refuseino(params) {  // 拒种   禁忌 超期 替代  已患
    return fetch({
        url: '/api/registration/refuseino',
        method: 'get',
        params
    });
}

export function showino(params) { // 接种历史
    return fetch({
        url: '/api/registration/showino',
        method: 'get',
        params
    });
}

export function deleteino(params) { // 删除历史疫苗
    return fetch({
        url: '/api/registration/deleteino',
        method: 'get',
        params
    });
}

export function noino(params) {
    return fetch({
        url: '/api/registration/noino',
        method: 'get',
        params
    });
}

export function saveino(params) {
    return fetch({
        url: '/api/registration/saveino',
        method: 'get',
        params
    });
}

export function planaudlt(params) {  // 成人挂号
    return fetch({
        url: '/api/registration/planaudlt',
        method: 'get',
        params
    });
}

export function saveCommon(params) {
    return fetch({
        url: '/api/registration/save',
        method: 'get',
        params
    });
}

export function nextplanInoculate(params) {  // 全部预约
    return fetch({
        url: '/api/registration/nextplanInoculate',
        method: 'get',
        params
    });
}

export function goset(params) {  // 全部预约
    return fetch({
        url: '/api/registration/goset',
        method: 'get',
        params
    });
}

export function over(params) {
    return fetch({
        url: '/api/registration/over',
        method: 'get',
        params
    });
}


export function real(params) {
    return fetch({
        url: '/api/registration/real',
        method: 'get',
        params
    });
}

export function cancellastapp(params) {  // 删除
    return fetch({
        url: '/api/registration/cancellastapp',
        method: 'get',
        params
    });
}
